package com.maisuiit.factory.schemes02.service.impl;

import com.maisuiit.factory.schemes02.entity.AwardInfo;
import com.maisuiit.factory.schemes02.entity.ResponseResult;
import com.maisuiit.factory.schemes02.service.IFreeGoods;

/**
 * 优酷会员服务
 * @author: zhangcc
 * @date: 2024/02/20
 */
public class YouKuMemberServiceImpl implements IFreeGoods {

    public ResponseResult sendFreeGoods(AwardInfo awardInfo) {
        String phone = awardInfo.getExtMap().get("phone");
        System.out.println("发放优酷会员成功,绑定手机号: " + phone);
        return new ResponseResult("200","优酷会员发放成功!",awardInfo);
    }
}
